using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using Quartz;
using Quartz.Job;

namespace goAlarmsCS
{
    internal class AlarmBehaviorHandlers
    {
        private AlarmBehaviorHandlers() {}  //shared methods only
        public class SnoozeHandlers
        {
            private SnoozeHandlers()  {}  //shared methods only
            public static void QuartzDoNothing(Alarm alarm)
            {
                var qAlarm = alarm as Alarm;
                if (qAlarm != null)
                {
                }
            }
            //public static void QuartzAddSnoozeInterval(AlarmSource alarmSource)
            //{
            //    var qAlarmSource = alarmSource as QuartzAlarmSource;
            //    if (qAlarmSource != null)
            //    {

            //        var trigger = TriggerUtils.MakeMinutelyTrigger("snooze", qAlarmSource.alarm.SnoozeDuration, 1);
            //        trigger.StartTimeUtc = TriggerUtils.GetEvenMinuteDate(DateTime.Now);
            //        qAlarmSource.AddTrigger("snooze",trigger);
            //    }
            //}
        }
        public class DisableHandlers
        {
            private DisableHandlers() {}   //shared methods only
            public static void QuartzDisabler(Alarm alarm)
            {
                var qAlarm = alarm as Alarm;
                if (qAlarm != null)
                {
                    
                }
            }
        
        }
    }
}
